<?php
/**
 * Created by PhpStorm.
 * User: linux
 * Date: 23/01/2018
 * Time: 11:01 PM
 */

namespace DecoratorPattern\Shape;


abstract class ShapeDecorator implements Shape
{
    protected $shape = null;

    public function __construct(Shape $shape)
    {
        $this->shape = $shape;
    }

    public function draw()
    {
        $this->shape->draw();
    }

}